package com.ylbh.modules.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ylbh.common.exception.NormalException;
import com.ylbh.common.pojo.member.vo.ConsumerVO;
import com.ylbh.common.pojo.member.dto.select.ConsumerSelectDTO;
import com.ylbh.common.pojo.member.vo.InviteMembersVO;
import com.ylbh.common.utils.PageUtils;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 *
 * @author mgh
 * @date 2019-04-15 15:35:45
 */
public interface ConsumerService extends IService<ConsumerVO> {
    /**
     * 会员邀请列表
     * @param params
     * @return
     */
    PageUtils queryPage(ConsumerSelectDTO params);

    /**
     * 会员邀请详情
     * @param recommendId
     * @return
     */
    InviteMembersVO getInviteMembersDetailsById(String recommendId);

    void selectAcc(HttpServletResponse response) throws NormalException;

    /**
     * 导出邀请记录
     * @param request
     * @param response
     */
    void exportInvitationRecordExcel(HttpServletRequest request, HttpServletResponse response) throws NormalException;
}

